from pathlib import Path  # 添加Path类的导入
project_root = Path(__file__).resolve().parent.parent.parent
print(f"项目根目录: {project_root}")
# # 将项目根目录添加到系统路径
import sys
sys.path.append(str(project_root))
from entity.daily_attendance import DailyAttendance